package com.open.cloud.rbac.mapper.orgpost;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.open.cloud.rbac.entity.orgpost.CoreUserOrgRel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户组织关联表 Mapper 接口
 * </p>
 *
 * @author wangzengzhou01
 * @since 2025-01-18
 */
@Mapper
public interface CoreUserOrgRelMapper extends BaseMapper<CoreUserOrgRel> {

    /**
     * 根据org列表查询用户Id
     *
     * @param orgList
     * @return
     */
    public List<String> selectUserIdListByOrg(@Param("list") List<String> orgList);
}
